home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 September / Software of the Month Club 1996 September.iso / mac / Software Research Institute-SRI / Business / Alpha ƒ / Tcl / SystemCode / latexMenu.tcl < prev    next >
Encoding:
Text File  |  1995-10-16  |  14.3 KB  |  804 lines  |  [TEXT/ALFA]

  1. #############################################################################
  2. #############################################################################
  3. #
  4. # latexMenu.tcl (called from latex.tcl)
  5. #
  6. # LaTeX menu definition and key bindings
  7. #
  8. #############################################################################
  9. #
  10. # Author:  Tom Scavo <trscavo@syr.edu>
  11. #
  12. #############################################################################
  13. #############################################################################
  14.  
  15. proc getLaTeXCommands {} {
  16.     set latexCommands {
  17.     
  18.         {<S/TTypeset Window}
  19.         {<S<I<O/TTypeset Selection}
  20.         
  21.         {menu -M TeX -n Goto -m -p LaTeXMenuItem {
  22.             "<U/SLaTeX"
  23.             "BibTeX"
  24.             "MakeIndex"
  25.             "(-"
  26.             {/cNext Tab Stop}
  27.             {<U/cPrev Tab Stop}
  28.             {<B/cnth Tab Stop╔}
  29.             "(-"
  30.             {Next Command}
  31.             {Prev Command}
  32.             {Next Command Select}
  33.             {Prev Command Select}
  34.             {Next Command Select With Args}
  35.             {Prev Command Select With Args}
  36.             "(-"
  37.             {Next Environment}
  38.             {Prev Environment}
  39.             {Next Environment Select}
  40.             {Prev Environment Select}
  41.             "(-"
  42.             {Next Section}
  43.             {Prev Section}
  44.             {Next Section Select}
  45.             {Prev Section Select}
  46.             {Next Subsection}
  47.             {Prev Subsection}
  48.             {Next Subsection Select}
  49.             {Prev Subsection Select}
  50.             }
  51.         }
  52.         
  53.         {menu -M TeX -n {LaTeX Utilities} -m -p LaTeXMenuItem {
  54.             {Choose Command╔}
  55.             "(-"
  56.             {<I/cInsert Literal Tab}
  57.             {Insert Tab Stop}
  58.             {Insert Reference╔}
  59.             "(-"
  60.             {<O/cDelete Tab Stops}
  61.             {Delete Comments}
  62.             "(-"
  63.             {Convert Quotes}
  64.             {Convert Dollar Signs}
  65.             "(-"
  66.             {Remove Auxiliary Files}
  67.             "(-"
  68.             {Short LaTeX Menu}
  69.             }
  70.         }
  71.         
  72.         {(-}
  73.         
  74.         {menu -M TeX -n Documents -m -p LaTeXMenuItem {
  75.             "letter"
  76.             "article"
  77.             "report"
  78.             "book"
  79.             "slides"
  80.             "custom╔"
  81.             "(-"
  82.             "options╔"
  83.             "packages╔"
  84.             "(-"
  85.             "filecontents╔"
  86.             }
  87.         }
  88.         
  89.         {menu -M TeX -n {Page Layout} -m -p LaTeXMenuItem {
  90.             "maketitle"
  91.             "(-"
  92.             "abstract"
  93.             "titlepage"
  94.             "(-"
  95.             "pagestyle╔"
  96.             "thispagestyle╔"
  97.             "pagenumbering╔"
  98.             "(-"
  99.             "twocolumn"
  100.             "onecolumn"
  101.             }
  102.         }
  103.         
  104.         {menu -M TeX -n Sectioning -m -p LaTeXMenuItem {
  105.             "part"
  106.             "chapter"
  107.             "section"
  108.             "subsection"
  109.             "subsubsection"
  110.             "paragraph"
  111.             "subparagraph"
  112.             "(-"
  113.             "appendix"
  114.             }
  115.         }
  116.         
  117.         {(-}
  118.  
  119.     }
  120.     return $latexCommands
  121. }
  122.  
  123. proc getTextSubmenus {} {
  124.     return {
  125.         {menu -M TeX -n {Text Style} -m -p LaTeXMenuItem {
  126.             "<B<I/Eemph"
  127.             "<B<O/Uunderline"
  128.             "(-"
  129.             "textup"
  130.             "<B<I/Itextit"
  131.             "<B<I/Stextsl"
  132.             "<B<I/Htextsc"
  133.             "(-"
  134.             "textmd"
  135.             "<B<I/Btextbf"
  136.             "(-"
  137.             "<B<I/Rtextrm"
  138.             "<B<I/Wtextsf"
  139.             "<B<I/Ytexttt"
  140.             "(-"
  141.             "textnormal"
  142.             }
  143.         }
  144.         
  145.         {menu -M TeX -n {Text Size} -m -p LaTeXMenuItem {
  146.             "tiny"
  147.             "scriptsize"
  148.             "footnotesize"
  149.             "small"
  150.             "normalsize"
  151.             "large"
  152.             "Large"
  153.             "LARGE"
  154.             "huge"
  155.             "Huge"
  156.             }
  157.         }
  158.         
  159.         {menu -M TeX -n International -m -p LaTeXMenuItem {
  160.             {ÿ}
  161.             {ù}
  162.             {Ö}
  163.             {Ü}
  164.             {¢}
  165.             "(-"
  166.             {ì}
  167.             {╧}
  168.             {╛}
  169.             {î}
  170.             {┐}
  171.             "(-"
  172.             {é}
  173.             {╬}
  174.             {«}
  175.             {ü}
  176.             {»}
  177.             "(-"
  178.             {º}
  179.             {┴}
  180.             {└}
  181.             }
  182.         }
  183.         
  184.         {menu -M TeX -n Environments -m -p LaTeXMenuItem {
  185.             "<I/kitemize╔"
  186.             "<U<I/kenumerate╔"
  187.             "<B<I/kdescription╔"
  188.             "thebibliography╔"
  189.             "(-"
  190.             "<I/lslide"
  191.             "<U<I/loverlay"
  192.             "<B<I/lnote"
  193.             "(-"
  194.             "<I/mfigure"
  195.             "<U<I/mtable"
  196.             "<B<I/mtabular╔"
  197.             "(-"
  198.             "<I/nverbatim"
  199.             "<U<I/nquote"
  200.             "<B<I/nquotation"
  201.             "verse"
  202.             "(-"
  203.             "<I/ocenter"
  204.             "<U<I/oflushleft"
  205.             "<B<I/oflushright"
  206.             "(-"
  207.             "<I/pgeneral╔"
  208.             }
  209.         }
  210.         
  211.         {menu -M TeX -n Boxes -m -p LaTeXMenuItem {
  212.             "<B<I/Mmbox"
  213.             "makebox"
  214.             "fbox"
  215.             "framebox"
  216.             "(-"
  217.             "newsavebox"
  218.             "sbox"
  219.             "savebox"
  220.             "usebox"
  221.             "(-"
  222.             "raisebox"
  223.             "(-"
  224.             "parbox"
  225.             "minipage"
  226.             "(-"
  227.             "rule"
  228.             }
  229.         }
  230.         
  231.         {menu -M TeX -n Miscellaneous -m -p LaTeXMenuItem {
  232.             "<B<I/Ffootnote"
  233.             {<B<I/Nmarginal note}
  234.             "(-"
  235.             "<B<I/Llabel"
  236.             "<B<I/Xref"
  237.             "<B<I/Ppageref"
  238.             "<B<I/Ccite"
  239.             "(-"
  240.             "<B<I/Jitem"
  241.             "(-"
  242.             "<B<I/'quotes"
  243.             {<U<B<I/'double quotes}
  244.             "(-"
  245.             "!╔ellipsis"
  246.             "!╨en-dash"
  247.             "!╤em-dash"
  248.             {TeX logo}
  249.             {LaTeX logo}
  250.             {LaTeX2e logo}
  251.             "date"
  252.             "(-"
  253.             "!ádag"
  254.             "ddag"
  255.             {!ñsection mark}
  256.             {!ªparagraph mark}
  257.             "!⌐copyright"
  258.             "!úpounds"
  259.             }
  260.         }
  261.     }
  262. }
  263.  
  264. proc mathModeSubmenu {} {
  265.     global TeXmodeVars
  266.     if {$TeXmodeVars(useDollarSigns)} then {
  267.         return {menu -M TeX -n {Math Modes} -m -p LaTeXMenuItem {
  268.             {<B<O/4TeX math}
  269.             {<B<O<I/4TeX displaymath}
  270.             "(-"
  271.             {LaTeX math}
  272.             {LaTeX displaymath}
  273.             }
  274.         }
  275.     } else {
  276.         return {menu -M TeX -n {Math Modes} -m -p LaTeXMenuItem {
  277.             {TeX math}
  278.             {TeX displaymath}
  279.             "(-"
  280.             {<B<O/4LaTeX math}
  281.             {<B<O<I/4LaTeX displaymath}
  282.             }
  283.         }
  284.     }
  285. }
  286.  
  287. proc getMathModeSubmenu {} {
  288.     return [list [mathModeSubmenu]]
  289. }
  290.  
  291. proc getMathSubmenus {} {
  292.     set mathSubmenus {
  293.         {menu -M TeX -n {Math Style} -m -p LaTeXMenuItem {
  294.             "<B<I<O/Imathit"
  295.             "<B<I<O/Rmathrm"
  296.             "<B<I<O/Bmathbf"
  297.             "<B<I<O/Wmathsf"
  298.             "<B<I<O/Ymathtt"
  299.             "<B<I<O/Cmathcal"
  300.             "(-"
  301.             "<B<I<O/Ddisplaystyle"
  302.             "<B<I<O/Ttextstyle"
  303.             "<B<I<O/Sscriptstyle"
  304.             "scriptscriptstyle"
  305.             }
  306.         }
  307.         
  308.         {menu -M TeX -n {Math Environments} -m -p LaTeXMenuItem {
  309.             "<I/imath"
  310.             "(-"
  311.             "<U<I/idisplaymath"
  312.             "<B<I/iequation"
  313.             "(-"
  314.             "<U<I/jeqnarray*╔"
  315.             "<B<I/jeqnarray╔"
  316.             "(-"
  317.             "<I/jarray╔"
  318.             "(-"
  319.             "<I/pgeneral╔"
  320.             }
  321.         }
  322.         
  323.         {menu -M TeX -n Formulas -m -p LaTeXMenuItem {
  324.             "subscript"
  325.             "superscript"
  326.             "(-"
  327.             "<B<O/Ffrac"
  328.             {<B<O/Rsqrt}
  329.             {nth root}
  330.             "(-"
  331.             {<B<O/1one parameter╔}
  332.             {<B<O/2two parameters╔}
  333.             }
  334.         }
  335.     
  336.         {menu -M TeX -n Greek -m -p LaTeXMenuItem {
  337.             "alpha"
  338.             "beta"
  339.             "<SGamma"
  340.             "<Sgamma"
  341.             "<E<SDelta"
  342.             "<Sdelta"
  343.             "epsilon"
  344.             "zeta"
  345.             "eta"
  346.             "<STheta"
  347.             "<Stheta"
  348.             "iota"
  349.             "kappa"
  350.             "<SLambda"
  351.             "<Slambda"
  352.             "mu"
  353.             "nu"
  354.             "<SXi"
  355.             "<Sxi"
  356.             "omicron"
  357.             "<SPi"
  358.             "<Spi"
  359.             "rho"
  360.             "<SSigma"
  361.             "<Ssigma"
  362.             "tau"
  363.             "<SUpsilon"
  364.             "<Supsilon"
  365.             "<E<SPhi"
  366.             "<Sphi"
  367.             "chi"
  368.             "<SPsi"
  369.             "<Spsi"
  370.             "<E<SOmega"
  371.             "<Somega"
  372.             "(-"
  373.             "varepsilon"
  374.             "vartheta"
  375.             "varpi"
  376.             "varrho"
  377.             "varsigma"
  378.             "varphi"
  379.             }
  380.         }
  381.             
  382.         {menu -M TeX -n {Binary Operators} -m -p LaTeXMenuItem {
  383.             "!▒pm"
  384.             "mp"
  385.             "times"
  386.             "!╓div"
  387.             "ast"
  388.             "star"
  389.             "circ"
  390.             "bullet"
  391.             "cdot"
  392.             "cap"
  393.             "cup"
  394.             "uplus"
  395.             "sqcap"
  396.             "sqcup"
  397.             "vee"
  398.             "wedge"
  399.             "setminus"
  400.             "(-"
  401.             "diamond"
  402.             "bigtriangleup"
  403.             "bigtriangledown"
  404.             "triangleleft"
  405.             "triangleright"
  406.             "lhd"
  407.             "rhd"
  408.             "unlhd"
  409.             "unrhd"
  410.             "(-"
  411.             "oplus"
  412.             "ominus"
  413.             "otimes"
  414.             "oslash"
  415.             "odot"
  416.             "(-"
  417.             "bigcirc"
  418.             "dagger"
  419.             "ddagger"
  420.             "amalg"
  421.             "wr"
  422.             }
  423.         }
  424.         
  425.         {menu -M TeX -n Relations -m -p LaTeXMenuItem {
  426.             "<S!│geq"
  427.             "<S!▓leq"
  428.             "<E<Ssucc"
  429.             "<Sprec"
  430.             "<E<Ssucceq"
  431.             "<Spreceq"
  432.             "<E<S!╚gg"
  433.             "<S!╟ll"
  434.             "<E<Ssupset"
  435.             "<Ssubset"
  436.             "<E<Ssupseteq"
  437.             "<Ssubseteq"
  438.             "<E<Ssqsupset"
  439.             "<Ssqsubset"
  440.             "<E<Ssqsupseteq"
  441.             "<Ssqsubseteq"
  442.             "<E<Sni"
  443.             "<Sin"
  444.             "<E<Sdashv"
  445.             "<Svdash"
  446.             "(-"
  447.             "equiv"
  448.             "sim"
  449.             "simeq"
  450.             "asymp"
  451.             "!┼approx"
  452.             "cong"
  453.             "!¡neq"
  454.             "doteq"
  455.             "propto"
  456.             "(-"
  457.             "models"
  458.             "perp"
  459.             "mid"
  460.             "parallel"
  461.             "bowtie"
  462.             "join"
  463.             "smile"
  464.             "frown"
  465.             }
  466.         }
  467.         
  468.         {menu -M TeX -n Arrows -m -p LaTeXMenuItem {
  469.             "<SLeftarrow"
  470.             "<Sleftarrow"
  471.             "<E<SRightarrow"
  472.             "<Srightarrow"
  473.             "<E<SLeftrightarrow"
  474.             "<Sleftrightarrow"
  475.             "<E<SLongleftarrow"
  476.             "<Slongleftarrow"
  477.             "<E<SLongrightarrow"
  478.             "<Slongrightarrow"
  479.             "<E<SLongleftrightarrow"
  480.             "<Slongleftrightarrow"
  481.             "(-"
  482.             "<SUparrow"
  483.             "<Suparrow"
  484.             "<E<SDownarrow"
  485.             "<Sdownarrow"
  486.             "<E<SUpdownarrow"
  487.             "<Supdownarrow"
  488.             "(-"
  489.             "mapsto"
  490.             "longmapsto"
  491.             "leadsto"
  492.             "(-"
  493.             "leftharpoonup"
  494.             "rightharpoonup"
  495.             "leftharpoondown"
  496.             "rightharpoondown"
  497.             "rightleftharpoons"
  498.             "hookleftarrow"
  499.             "hookrightarrow"
  500.             "nearrow"
  501.             "searrow"
  502.             "swarrow"
  503.             "nwarrow"
  504.             }
  505.         }
  506.         
  507.         {menu -M TeX -n Dots -m -p LaTeXMenuItem {
  508.             "bullet"
  509.             "cdot"
  510.             "(-"
  511.             "ldots"
  512.             "cdots"
  513.             "vdots"
  514.             "ddots"
  515.             }
  516.         }
  517.         
  518.         {menu -M TeX -n Symbols -m -p LaTeXMenuItem {
  519.             "aleph"
  520.             "hbar"
  521.             "imath"
  522.             "jmath"
  523.             "ell"
  524.             "wp"
  525.             "Re"
  526.             "Im"
  527.             "mho"
  528.             "(-"
  529.             "angle"
  530.             "backslash"
  531.             "bot"
  532.             "emptyset"
  533.             "exists"
  534.             "forall"
  535.             "!░infty"
  536.             "nabla"
  537.             "!┬neg"
  538.             "!╢partial"
  539.             "prime"
  540.             "!├surd"
  541.             "top"
  542.             "(-"
  543.             "Box"
  544.             "Diamond"
  545.             "triangle"
  546.             "clubsuit"
  547.             "diamondsuit"
  548.             "heartsuit"
  549.             "spadesuit"
  550.             "(-"
  551.             "flat"
  552.             "natural"
  553.             "sharp"
  554.             }
  555.         }
  556.             
  557.         {menu -M TeX -n Functions -m -p LaTeXMenuItem {
  558.             "arccos"
  559.             "arcsin"
  560.             "arctan"
  561.             "arg"
  562.             "cos"
  563.             "cosh"
  564.             "cot"
  565.             "coth"
  566.             "csc"
  567.             "deg"
  568.             "det"
  569.             "dim"
  570.             "exp"
  571.             "gcd"
  572.             "hom"
  573.             "inf"
  574.             "ker"
  575.             "lg"
  576.             "lim"
  577.             "liminf"
  578.             "limsup"
  579.             "ln"
  580.             "log"
  581.             "max"
  582.             "min"
  583.             "Pr"
  584.             "sec"
  585.             "sin"
  586.             "sinh"
  587.             "sup"
  588.             "tan"
  589.             "tanh"
  590.             "(-"
  591.             "bmod"
  592.             "pmod"
  593.             }
  594.         }
  595.     
  596.         {menu -M TeX -n {Large Operators} -m -p LaTeXMenuItem {
  597.             "<B<O/Ssum"
  598.             "<B<O/Pprod"
  599.             "coprod"
  600.             "<B<O/Iint"
  601.             "oint"
  602.             "(-"
  603.             "bigcup"
  604.             "bigcap"
  605.             "bigsqcup"
  606.             "bigvee"
  607.             "bigwedge"
  608.             "bigodot"
  609.             "bigotimes"
  610.             "bigoplus"
  611.             "biguplus"
  612.             }
  613.         }
  614.         
  615.         {menu -M TeX -n Delimiters -m -p LaTeXMenuItem {
  616.             "parentheses"
  617.             "brackets"
  618.             "braces"
  619.             {vertical bars}
  620.             {other delims╔}
  621.             "(-"
  622.             {half-open interval}
  623.             {half-closed interval}
  624.             "(-"
  625.             {big parentheses}
  626.             {big brackets}
  627.             {big braces}
  628.             {big vertical bars}
  629.             {other big delims╔}
  630.             "(-"
  631.             {big left brace}
  632.             {other mixed big delims╔}
  633.             }
  634.         }
  635.             
  636.         {menu -M TeX -n {Math Accents} -m -p LaTeXMenuItem {
  637.             "<B<O/Aacute"
  638.             "<B<O/Bbar"
  639.             "breve"
  640.             "<B<O/Ccheck"
  641.             "<B<O/Ddot"
  642.             "ddot"
  643.             "<B<O/Ggrave"
  644.             "<B<O/Hhat"
  645.             "<B<O/Ttilde"
  646.             "<B<O/Vvec"
  647.             "(-"
  648.             "widehat"
  649.             "widetilde"
  650.             "(-"
  651.             "imath"
  652.             "jmath"
  653.             }
  654.         }
  655.         
  656.         {menu -M TeX -n Grouping -m -p LaTeXMenuItem {
  657.             "<B<O/Uunderline"
  658.             "<B<O/Ooverline"
  659.             "underbrace"
  660.             "overbrace"
  661.             "(-"
  662.             "stackrel"
  663.             }
  664.         }
  665.         
  666.         {menu -M TeX -n Spacing -m -p LaTeXMenuItem {
  667.             {neg thin}
  668.             "thin"
  669.             "medium"
  670.             "thick"
  671.             "(-"
  672.             "quad"
  673.             "qquad"
  674.             "(-"
  675.             "hspace"
  676.             "vspace"
  677.             "(-"
  678.             "hfill"
  679.             "vfill"
  680.             "(-"
  681.             "smallskip"
  682.             "medskip"
  683.             "bigskip"
  684.             }
  685.         }
  686.     }
  687.     return [concat [getMathModeSubmenu] $mathSubmenus]
  688. }
  689.  
  690. proc getTextSubsubmenus {} {
  691.     set m [getTextSubmenus]
  692.     set mm [list menu -M TeX -n {Text Submenus} -m -p LaTeXMenuItem $m]
  693.     return [list $mm]
  694. }
  695.  
  696. proc getMathSubsubmenus {} {
  697.     set m [getMathSubmenus]
  698.     set mm [list menu -M TeX -n {Math Submenus} -m -p LaTeXMenuItem $m]
  699.     return [list $mm]
  700. }
  701.  
  702. proc getLaTeXMenu {} {
  703.     global useShortLaTeXMenu
  704.     set latexCommands [getLaTeXCommands]
  705.     if {$useShortLaTeXMenu} {
  706.         return [concat $latexCommands [getTextSubsubmenus] {{(-}} [getMathSubsubmenus]]
  707.     } else {
  708.         return [concat $latexCommands [getTextSubmenus] {{(-}} [getMathSubmenus]]
  709.     }
  710. }
  711.  
  712. proc buildLaTeXMenu {} {
  713.     global latexMenu useShortLaTeXMenu
  714.     menu -M TeX -n $latexMenu -m -p LaTeXMenuItem [getLaTeXMenu]
  715.     markMenuItem {LaTeX Utilities} {Short LaTeX Menu} $useShortLaTeXMenu
  716. }
  717.  
  718. proc toggleLaTeXMenus {} {
  719.     global latexMenu useShortLaTeXMenu modifiedVars
  720.     watchCursor
  721.     set useShortLaTeXMenu [expr 1 - $useShortLaTeXMenu]
  722.     lappend modifiedVars useShortLaTeXMenu
  723.     buildLaTeXMenu
  724.     markMenuItem {LaTeX Utilities} {Short LaTeX Menu} $useShortLaTeXMenu
  725. }
  726.  
  727. proc LaTeXMenuItem {menu item} {
  728.     switch $item {
  729.         {Typeset Window}  {set func "typesetWindow"}
  730.         {Typeset Selection}  {set func "typesetSelection"}
  731.         "LaTeX"  {set func "latex"}
  732.         "BibTeX"  {set func "bibtex"}
  733.         "MakeIndex"  {set func "makeindex"}
  734.         {Next Tab Stop}  {set func "nextTabStop"}
  735.         {Prev Tab Stop}  {set func "prevTabStop"}
  736.         {nth Tab Stop}  {set func "nthTabStop"}
  737.         {Next Command}  {set func "nextCommand"}
  738.         {Prev Command}  {set func "prevCommand"}
  739.         {Next Command Select}  {set func "nextCommandSelect"}
  740.         {Prev Command Select}  {set func "prevCommandSelect"}
  741.         {Next Command Select With Args}  {set func "nextCommandSelectWithArgs"}
  742.         {Prev Command Select With Args}  {set func "prevCommandSelectWithArgs"}
  743.         {Next Environment}  {set func "nextEnvironment"}
  744.         {Prev Environment}  {set func "prevEnvironment"}
  745.         {Next Environment Select}  {set func "nextEnvironmentSelect"}
  746.         {Prev Environment Select}  {set func "prevEnvironmentSelect"}
  747.         {Next Section}  {set func "nextSection"}
  748.         {Prev Section}  {set func "prevSection"}
  749.         {Next Section Select}  {set func "nextSectionSelect"}
  750.         {Prev Section Select}  {set func "prevSectionSelect"}
  751.         {Next Subsection}  {set func "nextSubsection"}
  752.         {Prev Subsection}  {set func "prevSubsection"}
  753.         {Next Subsection Select}  {set func "nextSubsectionSelect"}
  754.         {Prev Subsection Select}  {set func "prevSubsectionSelect"}
  755.         {Choose Command}  {set func "chooseCommand LaTeX"}
  756.         {Insert Literal Tab}  {set func "insertLiteralTab"}
  757.         {Insert Tab Stop}  {set func "insertTabStop"}
  758.         {Insert Reference}  {set func "insertReference"}
  759.         {Delete Tab Stops}  {set func "deleteTabStops"}
  760.         {Delete Comments}  {set func "deleteComments"}
  761.         {Convert Quotes}  {set func "convertQuotes"}
  762.         {Convert Dollar Signs}  {set func "convertDollarSigns"}
  763.         {Remove Auxiliary Files}  {set func "removeAuxiliaryFiles"}
  764.         {Short LaTeX Menu}  {set func "toggleLaTeXMenus"}
  765.         "array"  {set func "myArray"}
  766.         "eqnarray\*"  {set func "eqnarrayStar"}
  767.         "ellipsis"  {set func "ldots"}
  768.         {TeX logo}  {set func "texLogo"}
  769.         {LaTeX logo}  {set func "latexLogo"}
  770.         {LaTeX2e logo}  {set func "latex2eLogo"}
  771.         "date" {set func "today"}
  772.         {section mark}  {set func "sectionMark"}
  773.         {paragraph mark}  {set func "paragraphMark"}
  774.         {double quotes}  {set func "dblQuotes"}
  775.         {marginal note}  {set func "marginalNote"}
  776.         "item" {set func "insertItem"}
  777.         {TeX math}  {set func "texMath"}
  778.         {TeX displaymath}  {set func "texDisplaymath"}
  779.         {LaTeX math}  {set func "latexMath"}
  780.         {LaTeX displaymath}  {set func "latexDisplaymath"}
  781.         {blackboard bold}  {set func "blackboardBold"}
  782.         {frac}  {set func "fraction"}
  783.         {sqrt}  {set func "squareRoot"}
  784.         {nth root}  {set func "nthRoot"}
  785.         {one parameter}  {set func "oneParameter"}
  786.         {two parameters}  {set func "twoParameters"}
  787.         {join}  {set func "myJoin"}
  788.         {vertical bars}  {set func "absoluteValue"}
  789.         {other delims}  {set func "otherDelims"}
  790.         {half-open interval}  {set func "half-openInterval"}
  791.         {half-closed interval}  {set func "half-closedInterval"}
  792.         {big parentheses}  {set func "bigParentheses"}
  793.         {big brackets}  {set func "bigBrackets"}
  794.         {big braces}  {set func "bigBraces"}
  795.         {big vertical bars}  {set func "bigAbsoluteValue"}
  796.         {other big delims}  {set func "otherBigDelims"}
  797.         {big left brace}  {set func "bigLeftBrace"}
  798.         {other mixed big delims}  {set func "otherMixedBigDelims"}
  799.         {neg thin}  {set func "negThin"}
  800.         default {set func $item}
  801.     }
  802.     eval $func
  803. }
  804.